package com.zhuzhiguang.student.entity;

import java.util.Date;
import java.util.List;

public class Student {
	
	private Integer id    ;
	private String name   ;
	private String img    ;
	private Date birthday ;
	private Date created  ;
	private Date updated  ;
	
	//用于显示
	private List<Favourite> favs;
	
	private Integer[]  favIds;
	
	
	public Integer[] getFavIds() {
		return favIds;
	}
	public void setFavIds(Integer[] favIds) {
		this.favIds = favIds;
	}
	public List<Favourite> getFavs() {
		return favs;
	}
	public void setFavs(List<Favourite> favs) {
		this.favs = favs;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getUpdated() {
		return updated;
	}
	public void setUpdated(Date updated) {
		this.updated = updated;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", img=" + img + ", birthday=" + birthday + ", created="
				+ created + ", updated=" + updated + ", favs=" + favs + "]";
	}


}
